package org.vudroid.core.models;

import org.vudroid.core.events.EventDispatcher;
import org.vudroid.core.events.ExitListener;
import org.vudroid.core.events.ShiftListener;

/**
 * Created by IntelliJ IDEA.
 * User: fabura
 * Date: 06.10.2010
 * Time: 23:08:58
 */
public class ShiftModel extends EventDispatcher
{
    private final int shift = 10;

    public void shiftLeft()
    {
        dispatch(new ShiftListener.ShiftEvent(-shift));
    }

    public void shiftRight()
    {
        dispatch(new ShiftListener.ShiftEvent(shift));
    }
}